package cn.oms.esb.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("service_exception_dict")
@ApiModel(value="ServiceExceptionDict对象", description="")
public class ServiceExceptionDict implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增生成）UUID")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "异常CODE（对应服务异常表）")
    @TableField("EXCEPTION_CODE")
    private String exceptionCode;

    @ApiModelProperty(value = "异常名称（中文）（dict、esb等）")
    @TableField("EXCEPTION_SERVICE_NAME_CN")
    private String exceptionServiceNameCn;

    @ApiModelProperty(value = "异常名称（英文）（dict、esb等）")
    @TableField("EXCEPTION_SERVICE_NAME_EN")
    private String exceptionServiceNameEn;

    @ApiModelProperty(value = "异常简介")
    @TableField("EXCEPTION_SERVICE_INFO")
    private String exceptionServiceInfo;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
